.eh-search {
  position: relative;
  input::-webkit-input-placeholder {
    color: #bbb;
  }
  input:-ms-input-placeholder {
    // IE10+
    color: #bbb;
  }
  input:-moz-placeholder {
    // Firefox4-18
    color: #bbb;
  }
  input::-moz-placeholder {
    // Firefox19+
    color: #bbb;
  }
  input {
    // width: 200px;
    height: 28px;
    line-height: 28px;
    background: #e6e7ea;
    border-radius: 4px;
    border: 1px solid #e9ecf4;
    outline: none;
    padding-left: 10px;
    text-align: left;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    letter-spacing: -0.34px;
    border: 0;
    color: #333;
  }
  .icon {
    position: absolute;
    right: 10px;
    top: 2px;
    color: #999;
    line-height: 30px;
  }
}

.bg {
  width: 100%;
  background: #fff;
}

.panel-commarkethome {
  min-width: calc(1024px - 40px);
  margin-top: -4px;
  max-width: 1180px;
  margin: 0 auto;
  color: #333;
  padding-top: 30px;
  padding-bottom: 17px;
  padding-left: 20px;
  padding-right: 20px;
  .bd {
    height: 50px;
    margin-bottom: 20px;
    .lt {
      .l {
        cursor: pointer;
        background: #ffffff;
        border: 1px solid #e9ecf4;
        border-left: 0;
        border-right: 0;
        &:first-child {
          border-left: 1px solid #e9ecf4;
        }
        display: block;
        width: 130px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        &.on {
          background: #f6f8fe;
          border-bottom: 0;
          border-left: 0;
          &:first-child {
            border-left: 1px solid #e9ecf4;
          }
        }
        &.marked {
          width: 130px;
        }
      }
      .r {
        span {
          position: relative;
          padding-bottom: 9px;
          font-family: PingFangSC-Regular;
          font-size: 16px;
          color: #acacac;
          letter-spacing: -0.39px;
          .line {
            position: absolute;
            left: 0;
            bottom: 0;
            height: 4px;
            border-radius: 2px;
            background: #116ceb;
            width: 100%;
            display: none;
          }
          cursor: pointer;
          display: block;

          height: 33px;
          line-height: 33px;
          margin-right: 30px;
          // &:first-child {
          //   margin-right: 30px;
          // }
          text-align: center;
          a {
            margin-bottom: 5px;
            text-decoration: none;
            color: #acacac;
          }
          &.on {
            a {
              font-family: PingFangSC-Medium;
              font-size: 24px;
              color: #116ceb;
              letter-spacing: -0.58px;
            }
            .line {
              display: block;
            }
          }
        }
      }
    }
    .rt {
      svg {
        fill: #b8bbc6;
        margin-left: -40px;
        font-size: 16px;
      }
    }
  }
  .ft {
    .h {
      height: 44px;
      line-height: 44px;
      border-bottom: 2px solid #a4afd2;
      span {
        text-align: right;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #999999;
        letter-spacing: -0.29px;
        &:first-child {
          text-align: left;
          width: calc(100% / 6 - 18px);
        }
        width: calc(100% / 6);
        &.pairs {
          // width: 136px;
        }
        &.lastPrice {
          // width: 175px;
        }
        &.change {
          // width: 80px;
        }
        &.high {
          // width: 60px;
        }
        &.low {
          // width: 58px;
        }
        &.vol {
          // width: 120px;
        }
      }
    }
    .b {
      min-height: 280px;
      overflow: hidden;
      .r {
        // padding-left: 40px;
        // padding-right: 50px;
        border-bottom: 1px solid #f1f3fa;
        height: 55px;
        line-height: 54px;
        cursor: pointer;
        &:hover {
          background: #f4f5f7;
        }
        .i {
          text-align: right;
          font-family: PingFangSC-Regular;
          &:first-child {
            text-align: left;
            width: calc(100% / 6 - 18px);
          }
          width: calc(100% / 6);
          // &.lastPrice {
          //   width: 65px;
          // }
          // &.change {
          //   width: 80px;
          // }
          // &.high {
          //   width: 60px;
          // }
          // &.low {
          //   width: 58px;
          // }
          // &.vol {
          //   width: 120px;
          // }
        }
      }
    }
    .f {
      margin-top: 17px;
    }
  }
}
